/*******************************************************************************
** CopyRight (c) 2005-2008 SKY-MOBI Ltd. All rights reserved.
** Filename:  rollBar.h
** Creator:   yuzhifeng
** Version:   0.0
** Date:      
** Description:
 *******************************************************************************/

#ifndef __ROLLBAR_H__
#define __ROLLBAR_H__

#include "appmgr.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#if defined(INCLUDE_IN_PLUG_APPMGR_SRC) || defined(SDK_NO_PLUGIN)
HWND rollBar_Create(HWND hWnd);
int32 rollBar_Hide(void);
void rollMsg_ShowMsgList(void);

int32 mailNoti_SetFlag(int32 set);
int32 rollMsg_winShift(int32 show);
#else

#define rollBar_Create(hWnd) \
	mrc_extSendAppEventEx(MPS_CODE_APPMGR_SHELL, ROLLBAR_FUNC_CREATE, (int32)hWnd, (int32)0, (int32)0, (int32)0, (int32)0)

#define rollBar_Hide() \
	mrc_extSendAppEventEx(MPS_CODE_APPMGR_SHELL, ROLLBAR_FUNC_HIDE, (int32)0, (int32)0, (int32)0, (int32)0, (int32)0)

#define mailNoti_SetFlag(set) \
	mrc_extSendAppEventEx(MPS_CODE_APPMGR_SHELL, ROLLBAR_FUNC_SETMAILFLAG, (int32)set, (int32)0, (int32)0, (int32)0, (int32)0)
	
#define rollMsg_winShift(show) \
	mrc_extSendAppEventEx(MPS_CODE_APPMGR_SHELL, ROLLBAR_FUNC_MSGBARSHIFT, (int32)show, (int32)0, (int32)0, (int32)0, (int32)0)
	
#endif

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif



